package com.snake.springboot.authority.api.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "分页实体类")
public class PageModel {


	@ApiModelProperty(value="当前页码", name="pageNum")
	private int pageNum;

	@ApiModelProperty(value="每页记录数", name="pageSize")
	private int pageSize;

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}



	@Override
	public String toString() {
		return "PageModel [ pageNum=" + pageNum + ", pageSize=" + pageSize + "]";
	}


}
